package com.study.lession.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.study.lession.domain.LessionUserInfo;
import com.study.lession.mapper.ContactMapper;
import com.study.lession.service.LessionUserInfoService;

public class LessionUserInfoServiceImpl implements LessionUserInfoService {
	
	@Autowired
	private ContactMapper mapper;

	@Override
	public int addContact(LessionUserInfo lessionUserInfo) {
		return mapper.addContact(lessionUserInfo);
	}

	@Override
	public int editContact(LessionUserInfo lessionUserInfo) {
		return mapper.editContact(lessionUserInfo);
	}

	@Override
	public int delContact(Long id) {
		return mapper.delContact(id);
	}

	@Override
	public List<LessionUserInfo> queryLessionUserInfoList(LessionUserInfo queryVo) {
		return mapper.queryLessionUserInfoList(queryVo);
	}

	@Override
	public LessionUserInfo viewContact(Long id) {
		return mapper.viewContact(id);
	}

}
